Skip to content

Look up config file in plain file dir and CWD#131

Merged
pedjaradenkovic merged 1 commit intomainfrom
improve/config-paths
Mar 17, 2026
Merged

Look up config file in plain file dir and CWD#131
pedjaradenkovic merged 1 commit intomainfrom
improve/config-paths

Conversation

@pedjaradenkovic
Copy link
Copy Markdown
Contributor

This PR addresses https://github.com/Codeplain-ai/next-microsoft/issues/8

With this PR, config file is looked at two locations:

  1. current directory
  2. plain file location

If file with provided name (config.yaml) by default exists on both error is thrown.

If files doesn't exist, render is executed with other provided and default arguments.

@pedjaradenkovic pedjaradenkovic self-assigned this Mar 13, 2026
Copy link
Copy Markdown
Contributor

@zanjonke zanjonke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Had a small comment. Approving since it's a minor fix.

Comment thread plain2code_arguments.py
@pedjaradenkovic pedjaradenkovic merged commit cd634e6 into main Mar 17, 2026
10 checks passed
@pedjaradenkovic pedjaradenkovic deleted the improve/config-paths branch March 17, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants